import custom from '@/utils/custom'

export function getToken() {
  return custom.storageGet('token')
}

export function setToken(token) {
  return custom.storageSet({ token })
}

export function getCheckFirstLogin() {
  return custom.storageGet('checkFirstLogin')
}

export function setCheckFirstLogin(checkFirstLogin) {
  return custom.storageSet({ checkFirstLogin })
}

export function removeToken() {
  return custom.storageRemove('token')
}

export function removeCheckFirstLogin() {
  return custom.storageRemove('checkFirstLogin')
}

export function getLock() {
  return custom.storageGet('lock')
}

export function setLock(lock) {
  return custom.storageSet({ lock })
}
export function removeLock() {
  return custom.storageRemove('lock')
}
